<extend name='Index:index'/>
<block name='admin_right'>
	<div class="right col-md-9">
			<table class="table table-bordered">
				<tr>
					<th>序号</th>
					<th>用户名</th>
					<th>密码</th>
					<th>修改</th>
					<th>删除</th>
				</tr>
				<volist name='rows' id='row'>
				<tr>
					<td><{$row['id']}></td>
					<td><{$row['username']}></td>
					<td><{$row['password']}></td>
					<td><a href="<{:U('edit','','')}>/id/<{$row['id']}>">修改</a></td>
					<if condition="$row['isadmin'] eq 1">
					<td><a style="color:#999" class="del" idx="<{$row['id']}>" href="javascript:">删除</a></td>
					<else/>
					<td><a class="del" idx="<{$row['id']}>" href="javascript:">删除</a></td>
					</if>
					
				</tr>
				</volist>
			</table>
			<p><{$show}></p>
	</div>
</block>